/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.PeriodPaymentLaundryDao;
import com.click.app.model.PeriodPaymentLaundry;
import com.click.app.service.PeriodPaymentLaundryManager;

/**
 *
 * @author ronald
 */
public class PeriodPaymentLaundryManagerImpl  extends GenericManagerImpl<PeriodPaymentLaundry, Long>
                                       implements PeriodPaymentLaundryManager {
    PeriodPaymentLaundryDao periodPaymentLaundryDao;

    public PeriodPaymentLaundryManagerImpl(PeriodPaymentLaundryDao periodPaymentLaundryDao) {
        super(periodPaymentLaundryDao);
        this.periodPaymentLaundryDao = periodPaymentLaundryDao;
    }
    public PeriodPaymentLaundry findCurrentPeriodByLaundry(Long id){
        return periodPaymentLaundryDao.findCurrentPeriodByLaundry(id);
    }
}
